////////////////////////////////////////////////////////////////
// filename: province.h
// description: header file for the world objects class
// author: Jay Tomten (jaytomten@gmail.com)
// notes:

// namespace

// defines
#ifndef __PROVINCE__
#define __PROVINCE__

#define PROVINCE_1 300032
#define PROVINCE_2 300033

// includes
#if defined(__APPLE__)
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
#include "line.h"
#include "color.h"
#include "object.h"

// globals

////////////////////////////////////////////////////////////////
// World - definition of our world class
class Province : public Object {

public:

    Province();                                        // constructor
    Province(int type, float x, float y, float z);     // constructor that calls Init()
    ~Province();                                       // destructor

    void Init(int type, float x, float y, float z); // create our object
    bool Update(float d); // update a world object
    void Draw();

private:

    Line v[30];        // list of verticies for our object
    int size;          // number of points
    Color col;         // color of object
    float width;       // line width
    GLuint texture;    // texture holder

};

#endif

